<?php
	//列出配置信息
	require '../biz/backend.php';

	class action extends backend
	{
		var $get_privilege_id = 32;
		var $post_privilege_id = 32;

		function do_get()
		{
			$template = load( 'template', array( 'domain'=>'tpl.admin' ) );
			$config = load( 'biz.config' );
			$result = $config->all( $this->input );

			if ( $result['page'] > 1 )
			{
				$navigation = load( 'navigation' );
				$template->assign( 'bar', $navigation->compute( $result['total'], $result['size'] ) );
			}

			$template->assign( 'data', $result['data'] );
			$template->assign( 'current_url', config( 'current_url' ) );
			echo $template->parse( 'list_config.php' );
		}
	}

	$action = new action();
	$action->run();
?>